GetFocusedWindowHandle

GetFocusedWindowHandle()

Description:
Returns the "handle" of the currently focused Window.  

A "handle" is a unique number assigned by the operating system to every window on the system.  The return value may be used in either the GetWindowCaption extended function or in any of the actions that have a" handle" parameter to identify a window.

Parameter Description

(no parameters)

Example:

Sub Main
MsgBox GetDesktopFolder()
End
Sub

See Also:

GetFocusedWindowHandle